package com.cn.lg.service.impl;

import com.cn.lg.mapper.StudentMapper;
import com.cn.lg.model.Student;
import com.cn.lg.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/7/12.
 */
@Service
public class StudentServiceImpl implements StudentService{

    @Autowired
    private StudentMapper studentMapper;

    public List<Student> findStudent() {
        return studentMapper.findStudent();
    }
}
